<?php
/*
 * 支付回调
 */
namespace app\home\controller;

use app\common\controller\IndexBase;
use think\facade\Session;
use think\facade\Db;

class Notify extends IndexBase
{
    protected function initialize()
    {
        parent::initialize();
    }

    /**
     * 支付回调
     */
    public function callback()
    {
        $data = '页面被火星人抓走了';
        if ($this->request->isPost())
        {
            $param = $this->request->param();
            
            $data = "支付成功回调";
        }
    	return $this->fetch('',['data'=>$data]);
    }

}
